//
//  TestView.h
//  SpecialForText
//
//  Created by 牛的mini on 4/25/14.
//  Copyright (c) 2014 牛的mini. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^touchTopImageviewBlock)(NSString *bigImagePath);
@interface HDTypesettingTextView : UIView
{
    BOOL isDrawRect;
}

@property (nonatomic, strong) NSString *wordsStr;
@property (nonatomic, strong) NSString *imagePath;
@property (nonatomic, strong) NSString *bigImagePath;
@property (nonatomic, strong) UIFont *font;

@property (nonatomic) CGFloat totalHeight;
@property (nonatomic, strong) UIColor *textColor;
@property (nonatomic, strong) touchTopImageviewBlock touchBlock;

- (id)initWithWidt:(CGFloat)width topHeight:(CGFloat)height andStr:(NSString *)str;
- (id)initWithDic:(NSDictionary *)dic;

@end
